package com.heu.blood.statistic.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heu.blood.statistic.entity.DepartmentUseNum;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface DepartmentUseNumDao extends BaseMapper<DepartmentUseNum> {

    /**
     * 获取科室七天用血统计
     * @param startOfDay
     * @param endOfDay
     * @return
     */
    List<DepartmentUseNum> getSevenDaysDepartmentUseNum(LocalDateTime startOfDay, LocalDateTime endOfDay);
}
